package com.guopiao.vat.common.general.response;

/**
 *  
 *  * @Author: Xander Xiao
 *  * @Description: 全局通用返回体
 *  @Date:Create in 2017/12/26
 *  
 */

public class GeneralResponse<T> {

    /*请求唯一标识*/
    private String requestId;
    /*请求返回代码*/
    private String rtnCode;
    /*请求返回信息 */
    private String rtnMsg;
    /*请求返回业务内容*/
    private T rtnData;

    public String getRequestId() {
        return requestId;
    }

    public void setRequestId(String requestId) {
        this.requestId = requestId;
    }

    public String getRtnCode() {
        return rtnCode;
    }

    public void setRtnCode(String rtnCode) {
        this.rtnCode = rtnCode;
    }

    public String getRtnMsg() {
        return rtnMsg;
    }

    public void setRtnMsg(String rtnMsg) {
        this.rtnMsg = rtnMsg;
    }

    public T getRtnData() {
        return rtnData;
    }

    public void setRtnData(T rtnData) {
        this.rtnData = rtnData;
    }

    @Override
    public String toString() {
        return "GeneralResponse{" +
                "requestId='" + requestId + '\'' +
                ", rtnCode='" + rtnCode + '\'' +
                ", rtnMsg='" + rtnMsg + '\'' +
                ", rtnData=" + rtnData +
                '}';
    }
}
